<template>
	<view class="login">
		<view class="item" @tap="goKefu()">
			<p style="font-size: 32upx;">在线客服</p>
		</view>
	</view>
</template>

<script>

export default {
	data() {
		return {
			kefu:''
		}
	},
	onShow() {
		this.kefu_url = uni.getStorageSync('kefu_url')
	},
	methods: {
		// 跳转到客服
		goKefu(){
			// #ifdef APP-PLUS
			plus.runtime.openURL(this.kefu_url)
			// #endif
			// #ifdef H5
			window.open(this.kefu_url)
			// #endif
		},
	}
}
</script>

<style lang="css" scoped>
.login {
	width: 100vw;
	min-height: 100vh;
	/* background: linear-gradient(to bottom, #feecea,#fff,#fff ,#fff); */
	background: url('../../static/loading.jpg');
	background-size: 100% 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.item{
	margin-top: 300upx;
	padding: 32upx 64upx;
	background: #fff;
	border-radius: 16upx;
	color: #F48C1C;
	font-weight: 700;
}
</style>